package com.fzu.ess.common.Model;

import lombok.Data;

/**
 * Created by ercha on 2015/10/30.
 */
@Data
public class JsonModel {
    //请求是否成功
    private Boolean success = false;

    //返回消息
    private String msg = "";

    private Object dataObj;

    //bootstrap table 服务器分页必须
    //返回行数
    private Integer rows = 0;

    //总记录数
    private Integer total = 0;

    public  JsonModel(){

    }
    public JsonModel(String msg){
        this.msg = msg;
    }
}
